/*
 *
 * @ProjectName:    my_umi_app
 * @Package:
 * @ClassName:      category
 * @Description:    TypeScript文件
 * @Author:         SuPeiSen
 * @CreateDate:     2021/1/3 4:18 下午
 * @UpdateDate:     2021/1/3 4:18 下午
 * @UpdateRemark:   更新说明：
 * @Version:        1.0
 */
export interface CategoryType {
  id: number;
  category_name: string;
  category_route: string;
}

// 后台获取分类List，分页的
export interface CategoryListAdminType {
  total: number;
  per_page: number;
  current_page: number;
  last_page: number;
  lists: Array<CategoryItemAdminType>;
}

// 后台获取分类Item
export interface CategoryItemAdminType {
  id: number;
  category_name: string;
  category_route: string;
  add_time: string;
  status: number;
}

//
// interface CategoryType {
//   code: number,
//   msg: string,
//   id: number,
//   date: Array<CategoryType>
// }
//
// interface CategoryItemType {
//   category_name: string,
//   category_route: string,
// }

// 添加分离
export interface AddCategoryResult {}
